{% extends "index/index.html" %}

{% block content %}



<form method="post" action="{% url 'index:login' %}">
{% csrf_token %}
<table>
<tr>
    <td>{{ form.username.label_tag }}</td>
    <td>{{ form.username }}</td>
</tr>
<tr>
    <td>{{ form.password.label_tag }}</td>
    <td>{{ form.password }}</td>
</tr>
</table>
<br>
{% if form.errors %}
    <div class="alert alert-danger" role="alert">
    Die Eingaben waren nicht korrekt.
    </div>
{% endif %}
<button type="submit" class="btn btn-primary">Bestätigen</button>
</form>
{% endblock %}
